<h1>Information</h1>

<script>
/************************************
 * Information
 ************************************/
//Get information from device
function setInfo() {
	//Set info listener
	lg.bind('lg_info', getInfo);
	
	//Get device information
	lg.info.update();
}

//Listener for device information
function getInfo(e){
	//Clean up
	$(document).unbind('lg_info', getInfo);
	
	//Set info
	$("#uid").html(lg.info.id);
	$("#phonename").html(lg.info.name);
	$("#os").html(lg.info.os);
	$("#version").html(lg.info.version);
	$("#model").html(lg.info.model);
	$("#lgVersion").html(lg.info.lgVersion);
	$("#appVersion").html(lg.info.appVersion);
	$("#wifi").html(lg.info.wifi.toString());
}
</script>

<div class="desc">
  <h4>UID: <span id="uid">&nbsp;</span></h4>
  <h4>Name: <span id="phonename">&nbsp;</span></h4>
  <h4>OS: <span id="os">&nbsp;</span></h4>
  <h4>Version: <span id="version">&nbsp;</span></h4>
  <h4>Model: <span id="model">&nbsp;</span></h4>
  <h4>LG Version: <span id="lgVersion">&nbsp;</span></h4>
  <h4>App Version: <span id="appVersion">&nbsp;</span></h4>
  <h4>WIFI: <span id="wifi">&nbsp;</span></h4>
</div>